package spring.jdbc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class JdbcOtherBoot {
	public static void main(String[] args) {
		ApplicationContext context=new ClassPathXmlApplicationContext("context.xml", JdbcOtherBoot.class);
		JdbcOtherDao dao=(JdbcOtherDao) context.getBean("jdbcOtherDaoImpl");
		dao.init();
		dao.readPerson(1);
		
		System.out.println("----------over----------");
	}
}
